package com.edt.ichannel.api.service.impl;

import com.edt.ichannel.api.dao.BonusRuleDao;
import com.edt.ichannel.api.entiy.local.BonusRule;
import com.edt.ichannel.api.service.BonusRuleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class BonusRuleServiceImpl implements BonusRuleService {
    @Resource
    private BonusRuleDao bonusRuleDao;
    @Override
    public BonusRule getBonusRule(String productId, String cityCode, int firstMoney) {
        return bonusRuleDao.getBonusRule(productId,cityCode,firstMoney);
    }
}
